<template>
  <el-card class="box-card">
    <XForm ref="form" :fieldList="fieldList" :options="formOption" :formData="info.auto_verify" :originOption="originOption">
      <template #Percent>
        需求数量与<span class="text-[20px]">运营预测</span> 比较，上下幅度不超过
        <el-input v-model="info.auto_verify.percent" placeholder="请输入" style="width: 100px" class="mx-[4px]" />
        %时，系统自动审核通过！
      </template>
    </XForm>
    <div>说明：创建完备货计划后，系统根据规则自动审核备货计划明细。</div>
  </el-card>
</template>

<script setup>
import { onMounted } from "vue"
import XForm from "@/components/XForm/index.vue"
const props = defineProps({
  info: { type: Object, default: () => {} },
})
//获取下拉数据
onMounted(() => {})
const originOption = ref({})
const form = ref()
const formOption = ref({})
const fieldList = ref([{ type: "title", label: "备货计划明细自动审核设置" }, { slot: "Percent" }])
defineExpose({ form })
</script>
<style lang="scss" scoped></style>
